package com.dt76.smallloanfrontendservice.utils;


import com.dt76.smallloanfrontendservice.pojo.etao.User;

import java.io.Serializable;

public class Result implements Serializable {

    
    private boolean isSuccess;
    private String msg;
    private User currentUser;

    public User getCurrentUser() {
        return currentUser;
    }

    public void setCurrentUser(User currentUser) {
        this.currentUser = currentUser;
    }

    public Result(boolean isSuccess, String msg) {
        this.isSuccess = isSuccess;
        this.msg = msg;
    }
    
    public Result() {
    }
    
    public boolean isSuccess() {
        return isSuccess;
    }
    
    public void setSuccess(boolean success) {
        isSuccess = success;
    }
    
    public String getMsg() {
        return msg;
    }
    
    public void setMsg(String msg) {
        this.msg = msg;
    }
}
